import 'extended_result.dart';

class ExtendedResults {
  List<ExtendedResult>? extendedResult;

  ExtendedResults({this.extendedResult});

  factory ExtendedResults.fromJson(Map<String, dynamic> json) {
    return ExtendedResults(
      extendedResult: (json['ExtendedResult'] as List<dynamic>?)
          ?.map((e) => ExtendedResult.fromJson(e as Map<String, dynamic>))
          .toList(),
    );
  }

  Map<String, dynamic> toJson() => {
        'ExtendedResult': extendedResult?.map((e) => e.toJson()).toList(),
      };
}
